$OpenBSD: patch-src_file_cc,v 1.1 2017/04/29 06:54:29 espie Exp $
--- src/file.cc.orig	Thu Apr 20 01:19:05 2017
+++ src/file.cc	Thu Apr 20 01:19:26 2017
@@ -5,6 +5,7 @@
 #include "throw.h"
 #include "intl.h"
 #include "file.h"
+#include <unistd.h>
 
 CFileBase::CFileBase(): m_fp(NULL)
 {
